package com.shenyong.ladmin.entity;

import com.shenyong.ladmin.entity.Users;

/**
 * Create By:qiang
 * Date: 2019/11/25 15:10
 * 文件说明: Notice
 */
public class Notice {
    private Integer notice_id;// 公告编号
    private int notice_administratorId;// 公告发布者编号 外键
    private String notice_title;// 公告标题
    private String notice_content;// 公告内容
    private String notice_startTime;// 公告开始时间
    private String notice_endTime;// 公告失效时间
    private Users users;



    public Notice() {
    }

    public Notice(Integer notice_id, int notice_administratorId, String notice_title, String notice_content, String notice_startTime, String notice_endTime, Users users) {
        this.notice_id = notice_id;
        this.notice_administratorId = notice_administratorId;
        this.notice_title = notice_title;
        this.notice_content = notice_content;
        this.notice_startTime = notice_startTime;
        this.notice_endTime = notice_endTime;
        this.users = users;
    }
    public Users getAdministrators() {
        return users;
    }

    public void setAdministrators(Users users) {
        this.users = users;
    }
    public Integer getNotice_id() {
        return notice_id;
    }

    public void setNotice_id(Integer notice_id) {
        this.notice_id = notice_id;
    }

    public int getNotice_administratorId() {
        return notice_administratorId;
    }

    public void setNotice_administratorId(int notice_administratorId) {
        this.notice_administratorId = notice_administratorId;
    }

    public String getNotice_title() {
        return notice_title;
    }

    public void setNotice_title(String notice_title) {
        this.notice_title = notice_title;
    }

    public String getNotice_content() {
        return notice_content;
    }

    public void setNotice_content(String notice_content) {
        this.notice_content = notice_content;
    }

    public String getNotice_startTime() {
        return notice_startTime;
    }

    public void setNotice_startTime(String notice_startTime) {
        this.notice_startTime = notice_startTime;
    }

    public String getNotice_endTime() {
        return notice_endTime;
    }

    public void setNotice_endTime(String notice_endTime) {
        this.notice_endTime = notice_endTime;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "notice_id=" + notice_id +
                ", notice_administratorId=" + notice_administratorId +
                ", notice_title='" + notice_title + '\'' +
                ", notice_content='" + notice_content + '\'' +
                ", notice_startTime='" + notice_startTime + '\'' +
                ", notice_endTime='" + notice_endTime + '\'' +
                ", users='" + users + '\''+
                '}';
    }
}
